<!--
 * @Author: 路漫漫
 * @Date: 2022-09-14 09:45:10
 * @项目描述: 
 * @Description: 花有重开日，人无再少年
-->
<template>
  <div>
    <el-dialog
      title="弹框"
      :visible.sync="dialogVisible"
      width="30%"
      :before-close="handleClose"
      :close-on-click-modal="false"
    >
      <div class="dialog_content">这是一段信息</div>
      <span slot="footer" class="dialog-footer">
        <el-button
          style="background-color: #1d976e; color: #fff"
          @click="handleClick"
          >确 定</el-button
        >
      </span>
    </el-dialog>
  </div>
</template>

<script>
export default {
  name: "",
  components: {},
  props: {},
  data() {
    return {
      dialogVisible: false,
      form: {},
    };
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {
    init() {
      this.dialogVisible = true;
    },
    handleClick() {},
    handleClose() {
      this.dialogVisible = false;
    },
  },
};
</script>

<style scoped lang='scss'>
</style>

